<!doctype html>
<html>
  Esto es resultSM.html
  <!--
    Copyright Facebook Inc.

    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
    You may obtain a copy of the License at

        http://www.apache.org/licenses/LICENSE-2.0

    Unless required by applicable law or agreed to in writing, software
    distributed under the License is distributed on an "AS IS" BASIS,
    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
  -->
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <meta name="viewport"
          content="initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
    <meta name="keywords"
          content="javascript, facebook, connect, library, share, publish, stream, api, json, fql">
    <meta name="description"
          content="JavaScript library to use Facebook Connect on your site.">
    <title>Connect JavaScript - Console</title>
    <link type="text/css" rel="stylesheet" href="/stylesheets/console.css">


    <style>
      #sortable1, 
	  #sortable2 { list-style-type: decimal; margin: 50; padding: 50; float: left; margin-right: 50px; width: 350px; border: solid; border-color: #EEEEEE; clear: right;}
      #sortable1 li, #sortable2  li { margin: 50 8px 8px 8px; padding: 8px; font-size: 1.2em; width: 150px; }
    </style>

  </head>
  <body>
    <ul id="people">
  
   {% for person in people %}
       {{person.fb_uid}} <br>
    {% endfor %}
    </ul>

	<b>
	Ahora, los matchings:
	<ul id="engaged">
  
   {% for p1, p2 in engaged.iteritems() %}
       {{p1, p2}} <br>
    {% endfor %}
    </ul>

	</b>
	
  <h1>Testeando</h1>

  
  <div class="people" hidden="false"> 
    
    <ul id="people">
    {% for person in people %}
	  <li value="{{person.fb_uid}}"></li>
    {% endfor %}
    </ul>

  </div>
  
  <h1>Prueba</h1>

    <div id="controls">
      <div id="info"></div>
    </div>

    <div class="demo">

      <ul id="sortable1" class="connectedSortable">
        Amigos
      </ul>
              
      <form name="signup" action="index.html" method="post">
        <ul id="sortable2" class="connectedSortable">
          Rank interesting profiles
        </ul>
        
        <br>

        <button type="submit" id="submit">Send</button>
      </form>
    
    </div>

    <div id="fb-root"></div>
  
    <script src="/js/all.js"></script>
    <script src="/js/console.js"></script>    
    <script src="/js/jquery-1.7.1.js"></script>
    <script src="/js/jquery-ui-1.8.16.custom.min.js"></script>
    <script src="/js/common.functions.js"></script>
     
    <script>

      //jquery-ui
      $(function() {
        $( "#sortable1, #sortable2" ).sortable({
          connectWith: ".connectedSortable"
        }).enableSelection();
      });

      initialize();
      friendsList();
    
    </script>
  </body>
</html>
